xen/arm: Add some useful debug in coprocessor trapping
authorJulien Grall <julien.grall@linaro.org>
Thu, 19 Jun 2014 14:09:49 +0000 (15:09 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 27 Jun 2014 13:13:22 +0000 (14:13 +0100)
commit42642dbd8511a8a3c2e70792a31d725b780a7744
tree22c9e249243978b9a1bcad66a91ec0ec1bed9c05
parentbea392432119c1dedefb448d4c053151da36c6e0
xen/arm: Add some useful debug in coprocessor trapping

XSA-93 adds a couple of new functions to trap coprocessor registers. They
unconditionally inject an undefined instruction to guest.

When debugging an OS at early stage, it may be hard to know why the guest
received an UNDEFINED. Add some debug message to help the developer when Xen
is built in debug mode.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c
xen/include/asm-arm/processor.h